Chris Pollett > Old Classes >
CS158a

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]

  [Submit Sec1]
  [Submit Sec2]

  [Class Sign up Sec1]
  [Class Sign up Sec2]

  [
Lecture Notes]

  [Discussion Board]

  [Announcements]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                           












CS158a Spring 2007Practice Final

To study for the final would suggest you: (1) Know how to do (by heart) all the practice problems. (2) Go over your notes at least three times. Second and third time try to see how much you can remember from the first time. (3) Go over the homework problems. (4) Try to create your own problems similar to the ones I have given and solve them. (5) Skim the relevant sections from the book. (6) If you want to study in groups, at this point you are ready to quiz each other. The practice midterm is below. Here are some facts about the actual final: (a) It is closed book, closed notes. Nothing will be permitted on your desk except your pen (pencil) and test. (b) You should bring photo ID. (c) There will be more than one version of the test. Each version will be of comparable difficulty. (d) It is comprehensive: There will be two problems from the material up to Midterm 1 (one of these will be from Practice Midterm 1); there will be two problems from the material up to Midterm 2 (one of these will be from Practice Midterm 2); the remaining six problems will be on material since Midterm 2 (two of these will be from the Practice Final).

[Student Generated Solutions-PDF]

1. Briefly explain how network address translation works.

2. What protocol is used by the internet to find a MAC address given an IP address. Briefly explain how it works.

3. Explain how interarea routes are calculated in OSPF. What does it mean for two routers to be adjacent in OSPF?

4. What routing algorithm is used by BGP?

5. Give a brief code snippet showing how to create a server which listens to port 6543 in Java.

6. Explain how a three-way handshake is used to establish a connection in TCP

7. Draw what a UDP header looks like. What additional information is provided by UDP which is not present in the network layer?

8. Give an example of the sequence of commands and message exchanges that might be involved to send a mail message using SMTP.

9. Briefly explain how DNS works to resolves names to IP addresses.

10. Briefly explain how the certificate authority system works in SSL.